StageProxy stage;
Sprite boxSprite;

void setup()
{
    
    stage = new StageProxy(this, new Rectangle(0,0,500,500),0xEEEEEE);
    
    boxSprite = new Sprite();
    
    boxSprite.getGraphics().clear();
    boxSprite.getGraphics().setLineStyle(5,0x000000,1.0f);
    boxSprite.getGraphics().beginFill(0xFFFFFF,1.0f);
    boxSprite.getGraphics().drawRectangle(0,0,100,100);
    boxSprite.getGraphics().endFill();
    stage.addChild(boxSprite);    
}
void draw()
{
  boxSprite.setX(boxSprite.getX() + 1);
}

